package com.iweb.userOrder.dao;

import com.iweb.userOrder.model.Orders;
import com.iweb.util.PageModel;

import java.util.List;

public interface OrdersDao {

    //分页查询
    public List<Orders> selectByPage(PageModel pageModel);

    //新增一条记录
    public int addOne(Orders orders);

    //根据id查询一条记录
    public Orders queryById(String order_id);

    //修改一条记录
    public int updateOne(Orders orders);

    //根据id删除一条记录
    public int deleteById(String order_id);

}
